package com.orphan.marketBack.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.orphan.marketBack.po.Purchase;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PurchaseMapper extends BaseMapper<Purchase> {
    @Override
    int insert(Purchase purchase);
    List<Purchase> selectPurchase();
    List<Purchase> selectPurchaseById(String purchaseId);
}
